﻿using ChiDao.Business.Service;
using ChiDao.Business.Service.AttachAttribute;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ChiDao.Site.Web.Controllers
{
    [Export]
    public class BaklogTaskController : BaseController
    {
        [Import]
        public IBaklogTaskService BaklogTaskService { get; set; }

        [WebPage]
        public ActionResult QueryBaklogTask()
        {
            return View(BaklogTaskService.QueryBaklogTask(User.Identity.Name));
        }

        public RedirectToRouteResult QueryHolidayDocument()
        {
            return this.RedirectToAction("QueryRequestHolidayDocument", "HolidayDocument");
        }
    }
}